ContextCapture 사용자 가이드

장면 설명 추가

장면 이름과 설명은 ContextCapture Web Viewer에 표시됩니다. 장면 이름과 설명은 모두 Scene/YourProduction.3mx 파일에서 정의할 수 있습니다. 텍스트 편집기에서 파일을 열고 이름 및 설명 태그를 바꿀 수 있습니다.

예를 들어, "YourProduction" 제작물에 다음과 같은 기본 루트 YourProduction.3mx가 있습니다.

{
"3mxVersion": 1,
"name": " YourProduction",
"description": "Scene generated by ContextCapture, copyright <a href='http://www.bentley.com' target='_blank'>Bentley</a>",
"logo": "logo.png",
"sceneOptions": [{"navigationMode":"PAN"}],
"layers": [
{
"type": "meshPyramid",
"id": "mesh0",
"name": "YourProduction",
"description": "Model generated by ContextCapture, copyright <a href='http://www.bentley.com' target='_blank'>Bentley</a>",
"SRS": "– given SRS –",
"SRSOrigin": [0,0,0],
"root": "Data/YourProduction.3mxb"
}
   ]
}

웹 뷰어에 표시되는 메시지를 사용자 정의하려면 굵은 문자로 표시된 이름과 설명 태그를 수정해야 합니다. 웹 응용 프로그램은 장면 설명에서 html 태그를 지원합니다. 다음 태그를 예로 들어 보겠습니다.

"description": "Scene generated by ContextCapture, &copy;<a href='http://www.bentley.com' target='_blank'>Bentley</a>",

위의 태그는 응용 프로그램에서 다음과 같이 표시됩니다.

참고: 따옴표 사용에 주의하십시오. 따옴표는 태그 끝을 의미하므로 장면 설명 내에서는 사용하지 않아야 합니다. 예를 들어, 다음 코드는 오류를 발생시킵니다.
오류: "description": "Scene generated by ContextCapture, copyright <a href="http://www.bentley.com" target="_blank">Bentley</a>"

설명에 따옴표를 사용하려면 ' 또는 \"를 사용하십시오.

정상: "description": "Scene generated by ContextCapture, copyright <a href=\"http://www.bentley.com\" target=\"_blank\">Bentley</a>"